fix buglet in RAII mgmt of Bindings::_drags_active
This commit is contained in:
parent
729f930974
commit
c0b1f0e63c
@ -170,7 +170,7 @@ class LIBGTKMM2EXT_API Bindings {
|
||||
struct DragsBlockBindings {
|
||||
DragsBlockBindings() { Bindings::_drag_active++; }
|
||||
~DragsBlockBindings() {
|
||||
if (Bindings::_drag_active--) {
|
||||
if (Bindings::_drag_active) {
|
||||
Bindings::_drag_active--;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user