mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 21:18:11 +08:00
Fix active tool selection (#92)
This commit is contained in:
committed by
Keavon Chambers
parent
3ab5f6b7ef
commit
c540d781e1
@@ -140,7 +140,9 @@ impl Dispatcher {
|
||||
|
||||
pub fn dispatch_response<T: Into<Response>>(&self, response: T) {
|
||||
let func = &self.callback;
|
||||
func(response.into())
|
||||
let response: Response = response.into();
|
||||
log::trace!("Sending {} Response", response);
|
||||
func(response)
|
||||
}
|
||||
|
||||
pub fn new(callback: Callback) -> Dispatcher {
|
||||
|
||||
Reference in New Issue
Block a user