diff --git a/docs/index.html b/docs/index.html index 47a907f0f..5616fa59c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3789,7 +3789,7 @@
-

Video & Audio Settings dialog (Bezels):

+

Video & Audio Settings dialog (Bezels):

diff --git a/src/gui/BrowserDialog.cxx b/src/gui/BrowserDialog.cxx index 1aa4346c1..c898ff77f 100644 --- a/src/gui/BrowserDialog.cxx +++ b/src/gui/BrowserDialog.cxx @@ -123,9 +123,11 @@ void BrowserDialog::show(GuiObject* parent, const GUI::Font& font, if(w > static_cast(font.getMaxCharWidth() * 80)) w = font.getMaxCharWidth() * 80; - if(ourBrowser == nullptr || &ourBrowser->parent() != &parent->parent()) + if(ourBrowser == nullptr || &ourBrowser->parent() != &parent->parent() + || ourBrowser->_w > static_cast(w) || ourBrowser->_h > static_cast(h)) + { ourBrowser = make_unique(parent, font, w, h); - + } ourBrowser->setTitle(title); // has to be always updated! ourBrowser->show(startpath, mode, command, namefilter); } diff --git a/src/gui/VideoAudioDialog.cxx b/src/gui/VideoAudioDialog.cxx index c37c12378..d6a36fb1f 100644 --- a/src/gui/VideoAudioDialog.cxx +++ b/src/gui/VideoAudioDialog.cxx @@ -330,7 +330,7 @@ void VideoAudioDialog::addPaletteTab() addPalette(xpos, VBORDER, _w - 2 * 2 - HBORDER - xpos, myTVGamma->getBottom() - myTIAPalette->getTop()); - // Add items for tab 2 + // Add items for tab 1 addToFocusList(wid, myTab, tabID); myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioPalettes"); @@ -434,7 +434,7 @@ void VideoAudioDialog::addTVEffectsTab() CREATE_CLONE_BUTTON(Bad, "Clone Bad adjust") CREATE_CLONE_BUTTON(Custom, "Revert") - // Add items for tab 3 + // Add items for tab 2 addToFocusList(wid, myTab, tabID); myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioEffects"); @@ -526,10 +526,10 @@ void VideoAudioDialog::addBezelTab() myBezelWinRounded->setToolTip("Enable if the bezel window has rounded borders"); wid.push_back(myBezelWinRounded); - // Add items for tab 4 + // Add items for tab 3 addToFocusList(wid, myTab, tabID); - myTab->parentWidget(tabID)->setHelpAnchor("TODO???"); + myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioBezels"); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -657,7 +657,7 @@ void VideoAudioDialog::addAudioTab() myDpcPitch->setTickmarkIntervals(2); wid.push_back(myDpcPitch); - // Add items for tab 5 + // Add items for tab 4 addToFocusList(wid, myTab, tabID); myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioAudio"); @@ -1242,7 +1242,7 @@ void VideoAudioDialog::handleBezelChange() // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void VideoAudioDialog::handleCommand(CommandSender* sender, int cmd, - int data, int id) + int data, int id) { switch (cmd) {