(svn r17889) -Feature: double click on a item in the refit list refits without the need to click on the refit button

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 15 years ago
parent 09ee4f6764
commit 8a6ddc8706

@ -372,6 +372,11 @@ struct RefitWindow : public Window {
}
}
virtual void OnDoubleClick(Point pt, int widget)
{
if (widget == VRW_MATRIX) this->OnClick(pt, VRW_REFITBUTTON);
}
virtual void OnClick(Point pt, int widget)
{
switch (widget) {

Loading…
Cancel
Save