Fix switching to Layout page when enable Layout mode.
--HG-- branch : develop
This commit is contained in:
parent
c9e9fb57d5
commit
4d277f392e
|
@ -2276,7 +2276,7 @@ void MainWindow::ActionLayout(bool checked)
|
|||
mode = Draw::Layout;
|
||||
SetEnableTool(true);
|
||||
SetEnableWidgets(true);
|
||||
ui->toolBox->setCurrentIndex(6);
|
||||
ui->toolBox->setCurrentIndex(ui->toolBox->indexOf(ui->layoutPage));
|
||||
|
||||
mouseCoordinate->setText("");
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<string>Tools</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>4</number>
|
||||
<number>7</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page">
|
||||
<property name="geometry">
|
||||
|
@ -1425,7 +1425,7 @@
|
|||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="page_6">
|
||||
<widget class="QWidget" name="layoutPage">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
|
@ -2560,8 +2560,8 @@
|
|||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../../libs/vmisc/share/resources/icon.qrc"/>
|
||||
<include location="share/resources/toolicon.qrc"/>
|
||||
<include location="../../libs/vmisc/share/resources/icon.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
Loading…
Reference in New Issue
Block a user