From a1e529aab0132e1cc54728c39bfd6a9a5f657283 Mon Sep 17 00:00:00 2001 From: eidheim Date: Fri, 4 Dec 2015 17:56:49 +0100 Subject: [PATCH] Fixed a bug in tab labels that lead to wrong labels being marked as changed if a reordering of the tabs had been done. --- src/notebook.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notebook.cc b/src/notebook.cc index 472b626..24b7420 100644 --- a/src/notebook.cc +++ b/src/notebook.cc @@ -165,7 +165,7 @@ void Notebook::open(const boost::filesystem::path &file_path) { } } if(page!=-1) - tab_labels.at(page)->label.set_text(title); + tab_labels.at(get_index(page))->label.set_text(title); }); JDEBUG("end");