Commit ab5978ef authored by Halla Rempt's avatar Halla Rempt

Hide the snap-to-grid action, it's way too broken.

CCBUG:334451
parent f1b9ba7c
<?xml version="1.0"?>
<kpartgui xmlns="http://www.kde.org/standards/kxmlgui/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Krita" version="64" xsi:schemaLocation="http://www.kde.org/standards/kxmlgui/1.0 http://www.kde.org/standards/kxmlgui/1.0/kxmlgui.xsd">
<kpartgui xmlns="http://www.kde.org/standards/kxmlgui/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Krita" version="65" xsi:schemaLocation="http://www.kde.org/standards/kxmlgui/1.0 http://www.kde.org/standards/kxmlgui/1.0/kxmlgui.xsd">
<MenuBar>
<Menu name="file" noMerge="1">
<text>&amp;File</text>
......@@ -67,7 +67,7 @@
<Action name="showStatusBar" />
<Separator/>
<Action name="view_grid"/>
<Action name="view_snap_to_grid"/>
<!--Action name="view_snap_to_grid"/-->
<Menu name="view_fast_grid_config">
<text>Grid Spacing</text>
<Action name="view_fast_grid_1x1"/>
......
......@@ -65,7 +65,7 @@ void KisGridManager::setup(KisActionManager* actionManager)
m_toggleSnapToGrid->setCheckable(true);
m_toggleSnapToGrid->setActivationFlags(KisAction::ACTIVE_NODE);
m_toggleSnapToGrid->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_Semicolon));
actionManager->addAction("view_snap_to_grid", m_toggleSnapToGrid);
//actionManager->addAction("view_snap_to_grid", m_toggleSnapToGrid);
connect(m_toggleSnapToGrid, SIGNAL(triggered()), this, SLOT(toggleSnapToGrid()));
// Fast grid config
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment