From 560c30ab46981293e10611eea896bec0543438af Mon Sep 17 00:00:00 2001
From: Urias McCullough <umccullough@gmail.com>
Date: Fri, 22 Nov 2013 19:45:00 -0800
Subject: [PATCH] Remove all menu items in unambiguous way on x86_64
---
src/apps/serialconnect/SerialWindow.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/apps/serialconnect/SerialWindow.cpp b/src/apps/serialconnect/SerialWindow.cpp
index cbd7b67..06b1f3a 100644
a
|
b
|
SerialWindow::~SerialWindow()
|
182 | 182 | void SerialWindow::MenusBeginning() |
183 | 183 | { |
184 | 184 | // remove all items from the menu |
185 | | while(fConnectionMenu->RemoveItem(0L)); |
| 185 | fConnectionMenu->RemoveItems(0, fConnectionMenu->CountItems(), true); |
186 | 186 | |
187 | 187 | // fill it with the (updated) serial port list |
188 | 188 | BSerialPort serialPort; |