mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 12:55:53 +08:00
Fixed warning
This commit is contained in:
parent
d45e243ba4
commit
d7f028a981
@ -57,7 +57,7 @@ PreferencesDialog::PreferencesDialog(wxWindow* parent) :
|
|||||||
void PreferencesDialog::show(const std::string& highlight_opt_key /*= std::string()*/, const std::string& tab_name/*= std::string()*/)
|
void PreferencesDialog::show(const std::string& highlight_opt_key /*= std::string()*/, const std::string& tab_name/*= std::string()*/)
|
||||||
{
|
{
|
||||||
int selected_tab = 0;
|
int selected_tab = 0;
|
||||||
for (selected_tab; selected_tab < tabs->GetPageCount(); selected_tab++)
|
for ( ; selected_tab < tabs->GetPageCount(); selected_tab++)
|
||||||
if (tabs->GetPageText(selected_tab) == _(tab_name))
|
if (tabs->GetPageText(selected_tab) == _(tab_name))
|
||||||
break;
|
break;
|
||||||
if (selected_tab < tabs->GetPageCount())
|
if (selected_tab < tabs->GetPageCount())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user