Fix all save format options being visible at once immediately after start-up by delaying initialization of the save format panel after the main windows call to Gtk::Widget::show_all.

This commit is contained in:
Adam Reichold
2016-01-12 20:15:35 +01:00
parent 1a9121714a
commit 74a0524bde
4 changed files with 23 additions and 31 deletions

View File

@@ -190,7 +190,6 @@ RTWindow::RTWindow ()
// Batch Queue panel
bpanel = Gtk::manage ( new BatchQueuePanel (fpanel->fileCatalog) );
bpanel->setParent (this);
// decorate tab, the label is unimportant since its updated in batchqueuepanel anyway
Gtk::Label* lbq = Gtk::manage ( new Gtk::Label (M("MAIN_FRAME_BATCHQUEUE")) );
@@ -283,9 +282,10 @@ RTWindow::RTWindow ()
pldBridge = new PLDBridge(static_cast<rtengine::ProgressListener*>(this));
//add (*mainBox);
add (*mainNB);
show_all ();
bpanel->init (this);
}
if (!isSingleTabMode() && !simpleEditor) {