mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-22 00:27:58 +02:00
Most of buttons created in cpp now have assigned shortcut
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "../Images.h"
|
||||
#include "../../gui/CGuiHandler.h"
|
||||
#include "../../gui/Shortcut.h"
|
||||
#include "../../widgets/Buttons.h"
|
||||
#include "../../widgets/TextControls.h"
|
||||
|
||||
@@ -200,7 +201,7 @@ CMarketSlider::CMarketSlider(const CSlider::SliderMovingFunctor & movingCallback
|
||||
[this]()
|
||||
{
|
||||
offerSlider->scrollToMax();
|
||||
});
|
||||
}, EShortcut::MARKET_MAX_AMOUNT);
|
||||
}
|
||||
|
||||
void CMarketSlider::deselect()
|
||||
|
||||
Reference in New Issue
Block a user