- QPushButton * up = new QPushButton(qpup, "", this);
- up->setMaximumSize(24, 24);
- QPushButton * down = new QPushButton(qpdown, "", this);
- down->setToolTip(qt_("Next command"));
- down->setMaximumSize(24, 24);
- connect(down, SIGNAL(clicked()), this, SLOT(down()));
+ upPB = new QPushButton(qpup, "", this);
+ upPB->setToolTip(qt_("List of previous commands"));
+ upPB->setMaximumSize(24, 24);
+ downPB = new QPushButton(qpdown, "", this);
+ downPB->setToolTip(qt_("Next command"));
+ downPB->setMaximumSize(24, 24);
+ downPB->setEnabled(false);
+ connect(downPB, SIGNAL(clicked()), this, SLOT(down()));
+ connect(upPB, SIGNAL(pressed()), this, SLOT(listHistoryUp()));