Commit 261f99c6 authored by Laurent Montel's avatar Laurent Montel 😁

David is right. We need to create tab before to load settings

parent 6481152f
...@@ -1061,8 +1061,8 @@ void Pane::readConfig(bool restoreSession) ...@@ -1061,8 +1061,8 @@ void Pane::readConfig(bool restoreSession)
createNewTab(); createNewTab();
} else { } else {
for(int i = 0; i<numberOfTab; ++i) { for(int i = 0; i<numberOfTab; ++i) {
restoreHeaderSettings(i);
createNewTab(); createNewTab();
restoreHeaderSettings(i);
#if 0 #if 0
Akonadi::Collection::Id id = grp.readEntry(QLatin1String("collectionId"),-1); Akonadi::Collection::Id id = grp.readEntry(QLatin1String("collectionId"),-1);
ETMViewStateSaver *saver = new ETMViewStateSaver; ETMViewStateSaver *saver = new ETMViewStateSaver;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment