#include "insets/InsetBranch.h"
#include <QPushButton>
-#include <QCloseEvent>
using namespace std;
namespace frontend {
GuiBranch::GuiBranch(GuiView & lv)
- : GuiDialog(lv, "branch")
+ : GuiDialog(lv, "branch", qt_("Branch Settings"))
{
setupUi(this);
- setViewTitle(_("Branch Settings"));
connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK()));
connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose()));
}
-void GuiBranch::closeEvent(QCloseEvent * e)
-{
- slotClose();
- e->accept();
-}
-
-
void GuiBranch::change_adaptor()
{
changed();