summaryrefslogtreecommitdiff
path: root/src/windows/profile/userinfopane.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-09-27 00:36:11 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2022-09-27 00:36:11 -0400
commit0571a05497ff628ceba8c7752dc3dd4104b1e0ea (patch)
tree0f145ca323b88dc6300a6a2077312d57beef4697 /src/windows/profile/userinfopane.cpp
parent90437de2c031f6cf0b58603d9cb5582064176374 (diff)
parent3027e00905b19282a4f501a26f7a4f71bc6940ea (diff)
downloadabaddon-portaudio-0571a05497ff628ceba8c7752dc3dd4104b1e0ea.tar.gz
abaddon-portaudio-0571a05497ff628ceba8c7752dc3dd4104b1e0ea.zip
Merge branch 'master' into voice
Diffstat (limited to 'src/windows/profile/userinfopane.cpp')
-rw-r--r--src/windows/profile/userinfopane.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/windows/profile/userinfopane.cpp b/src/windows/profile/userinfopane.cpp
index a17dbff..b62da93 100644
--- a/src/windows/profile/userinfopane.cpp
+++ b/src/windows/profile/userinfopane.cpp
@@ -41,13 +41,13 @@ ConnectionItem::ConnectionItem(const ConnectionData &conn)
m_box.add(m_name);
if (!url.empty()) {
auto cb = [url](GdkEventButton *event) -> bool {
- if (event->type == GDK_BUTTON_PRESS && event->button == GDK_BUTTON_PRIMARY) {
+ if (event->type == GDK_BUTTON_RELEASE && event->button == GDK_BUTTON_PRIMARY) {
LaunchBrowser(url);
return true;
}
return false;
};
- signal_button_press_event().connect(sigc::track_obj(cb, *this));
+ signal_button_release_event().connect(sigc::track_obj(cb, *this));
AddPointerCursor(*this);
}
m_overlay.add(m_box);