Skip to content

Commit

Permalink
Sketcher: Requested Feature: Remove help button
Browse files Browse the repository at this point in the history
===============================================

The help button next to the close button in the Task dialog is now removed.

It was requested that this button is removed as it is inconsistent with other help sources and it is not implemented.
  • Loading branch information
abdullahtahiriyo authored and wwmayer committed Jun 15, 2015
1 parent d1acd12 commit 61bd2d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 0 additions & 5 deletions src/Mod/Sketcher/Gui/TaskDlgEditSketch.cpp
Expand Up @@ -103,10 +103,5 @@ bool TaskDlgEditSketch::reject()
return true;
}

void TaskDlgEditSketch::helpRequested()
{

}


#include "moc_TaskDlgEditSketch.cpp"
4 changes: 1 addition & 3 deletions src/Mod/Sketcher/Gui/TaskDlgEditSketch.h
Expand Up @@ -58,14 +58,12 @@ class SketcherGuiExport TaskDlgEditSketch : public Gui::TaskView::TaskDialog
virtual bool accept();
/// is called by the framework if the dialog is rejected (Cancel)
virtual bool reject();
/// is called by the framework if the user presses the help button
virtual void helpRequested();
virtual bool isAllowedAlterDocument(void) const
{ return false; }

/// returns for Close and Help button
virtual QDialogButtonBox::StandardButtons getStandardButtons(void) const
{ return QDialogButtonBox::Close|QDialogButtonBox::Help; }
{ return QDialogButtonBox::Close; }

protected:
void slotUndoDocument(const App::Document&);
Expand Down

0 comments on commit 61bd2d4

Please sign in to comment.