summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
Diffstat (limited to 'muse2')
-rw-r--r--muse2/ChangeLog1
-rw-r--r--muse2/muse/globaldefs.h2
-rw-r--r--muse2/muse/widgets/shortcutcapturedialog.cpp3
3 files changed, 4 insertions, 2 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog
index a12d7ec1..9d894106 100644
--- a/muse2/ChangeLog
+++ b/muse2/ChangeLog
@@ -1,6 +1,7 @@
10.12.2010:
- More compiler and build warnings fixes. (Orcan)
- Restored the scripts menu and fixed scripts handling. Tested OK. (Orcan)
+ - Added left, right, up, down to shortcuts dialog. Test OK. (Tim)
09.12.2010:
- Fix: column orders mess up in the main window, and they do not save properly in
the .med files. (Orcan)
diff --git a/muse2/muse/globaldefs.h b/muse2/muse/globaldefs.h
index 06661771..74c18d7d 100644
--- a/muse2/muse/globaldefs.h
+++ b/muse2/muse/globaldefs.h
@@ -24,7 +24,7 @@ const int MAX_CHANNELS = 2; // max audio channels
const int MAX_PLUGINS = 4; // plugins in mixer rack
//const int MIDI_PORTS = 32; // max Number of Midi Ports
-const int MIDI_PORTS = 128; // max Number of Midi Ports
+const int MIDI_PORTS = 200; // max Number of Midi Ports
#ifndef MIDI_CHANNELS
#define MIDI_CHANNELS 16 // Channels per Port
diff --git a/muse2/muse/widgets/shortcutcapturedialog.cpp b/muse2/muse/widgets/shortcutcapturedialog.cpp
index ef2bc33e..5a76d1d9 100644
--- a/muse2/muse/widgets/shortcutcapturedialog.cpp
+++ b/muse2/muse/widgets/shortcutcapturedialog.cpp
@@ -53,7 +53,8 @@ void ShortcutCaptureDialog::keyPressEvent(QKeyEvent* e)
// Check if this is a "real" key that completes a valid shortcut:
int k = e->key();
if (k < 256 || k == Qt::Key_Enter || k == Qt::Key_Return || (k >= Qt::Key_F1 && k <= Qt::Key_F12) || k == Qt::Key_Home || k == Qt::Key_PageUp
- || k == Qt::Key_PageDown || k == Qt::Key_End || k == Qt::Key_Insert || k == Qt::Key_Delete) {
+ || k == Qt::Key_PageDown || k == Qt::Key_End || k == Qt::Key_Insert || k == Qt::Key_Delete
+ || k == Qt::Key_Up || k == Qt::Key_Down || k == Qt::Key_Left || k == Qt::Key_Right) {
key = temp_key;
realkey = true;
QKeySequence q = QKeySequence(key);