From c317acfdbe6603e6ed9d3dbcfee15419bcc96832 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Fri, 26 Mar 2010 11:53:49 +0100 Subject: [PATCH] fakevim: make UseFakeVim option independent from the settings groupbox again --- src/plugins/fakevim/fakevimoptions.ui | 10 +++++++--- src/plugins/fakevim/fakevimplugin.cpp | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/plugins/fakevim/fakevimoptions.ui b/src/plugins/fakevim/fakevimoptions.ui index 06be203625e..7dc21f5cec2 100644 --- a/src/plugins/fakevim/fakevimoptions.ui +++ b/src/plugins/fakevim/fakevimoptions.ui @@ -11,14 +11,18 @@ </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QCheckBox" name="checkBoxUseFakeVim"> + <property name="text"> + <string>Use FakeVim</string> + </property> + </widget> + </item> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Vim style settings</string> </property> - <property name="checkable"> - <bool>true</bool> - </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QFormLayout" name="formLayout"> diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index 9ae22c90796..2958b7bac81 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -156,7 +156,7 @@ QWidget *FakeVimOptionPage::createPage(QWidget *parent) m_group.clear(); m_group.insert(theFakeVimSetting(ConfigUseFakeVim), - m_ui.groupBox); + m_ui.checkBoxUseFakeVim); m_group.insert(theFakeVimSetting(ConfigExpandTab), m_ui.checkBoxExpandTab); -- GitLab